
#ifndef ETHERNET_H_
#define ETHERNET_H_

#include "types.h"

struct EtherHeader
{
	u_int8 daddr[MAC_LEN];
	u_int8 saddr[MAC_LEN];
	u_int16 type;
};

#define ETHERNET_IP			0x0800
#define ETHERNET_ARP		0x0806
#define ETHERNET_RARP		0x8035

#endif /* ETHERNET_H_ */
